﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="User.aspx.cs" Inherits="EXAM.User"  %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <style type="text/css">
        .style1
        {
            height: 20px;
            width: 70%;
        }
        .style2
        {
            width: 145px;
        }
        .style3
        {
            height: 20px;
            width: 145px;
        }
        .style4
        {
            height: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="txtconfirmpassword">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lbErr" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <div align="center" style="font-size: large; font-weight: bold">
        <h2 class="art-postheader">Change Password</h2></div>
    <table>
        <tr>
            <td align="left" class="style2">
                &nbsp;</td>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td align="left" class="style2">
                &nbsp;
            </td>
            <td colspan="2">
                &nbsp;
                <asp:HiddenField ID="txtID" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="left" class="style3">
                Current password
            </td>
            <td class="style1" colspan="2">
                <telerik:RadTextBox ID="txtPassword" runat="server" TextMode="Password" Width="200px">
                </telerik:RadTextBox>
            </td>
        </tr>
        <tr>
            <td align="left" class="style3">
                New password
            </td>
            <td class="style1" colspan="2">
                <telerik:RadTextBox ID="txtnewpassword" runat="server" TextMode="Password" Width="200px">
                </telerik:RadTextBox>
            </td>
        </tr>
        <tr>
            <td align="left" class="style3">
                Confirm password
            </td>
            <td class="style1" colspan="2">
                <telerik:RadTextBox ID="txtconfirmpassword" runat="server" TextMode="Password" Width="200px"
                    OnTextChanged="txtconfirmpassword_TextChanged" AutoPostBack="True">
                </telerik:RadTextBox>
                &nbsp;<asp:Label ID="lbErr" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" class="style3">
                &nbsp;
            </td>
            <td class="style4" align="center">
                <telerik:RadButton ID="btSave" runat="server" OnClick="RadButton1_Click" Text="Save"
                    Width="80px">
                </telerik:RadButton>
                &nbsp;
            </td>
            <td class="style1">
                <div style="display: block;">
                    <telerik:RadButton ID="btCancel" runat="server" Text="Cancel" Width="80px">
                    </telerik:RadButton>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
